package com.woniu.market_stall_web.service;

import com.woniu.market_stall_web.mapper.StallMapper;
import com.woniu.market_stall_web.vo.AuctionStallVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

@Service
public class AuctionStallService {

    @Autowired
    StallMapper stallMapper;

   public List<AuctionStallVo> selectAuctioning(){
       return stallMapper.selectAuctioning();
   }

    public List<AuctionStallVo> selectAuctioningOneStall(int stallId){

        return stallMapper.selectAuctioningOneStall(stallId);
    }



}
